package com.yang.entity;

import java.io.Serializable;

public class Fiel implements Serializable {

	private static final long serialVersionUID = -2730134857759887873L;
	private int id;
	private String name;
	private String contentType;
	private String roundName;
	private String time;
	private long length;
	private int father;
	private int son;
	private String md;
	private int visiable;
	private int userid;

	public String getContentType() {
		return contentType;
	}

	public int getFather() {
		return father;
	}

	public int getId() {
		return id;
	}

	public long getLength() {
		return length;
	}

	public String getMd() {
		return md;
	}

	public String getName() {
		return name;
	}

	public String getRoundName() {
		return roundName;
	}

	public int getSon() {
		return son;
	}

	public String getTime() {
		return time;
	}

	public int getUserid() {
		return userid;
	}

	public int getVisiable() {
		return visiable;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public void setFather(int father) {
		this.father = father;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setLength(long length2) {
		this.length = length2;
	}

	public void setMd(String md) {
		this.md = md;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setRoundName(String roundName) {
		this.roundName = roundName;
	}

	/**
	 * son=0 根节点
	 * son=-1 文件夹
	 * son=-2 文件
	 * son=-4 文件夹不为空
	 * @param son
	 */
	public void setSon(int son) {
		this.son = son;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	/**
	 * visiable:1→属主、管理员、root可见
	 * visiable:2→管理员、root可见
	 * visiable:4→root可见
	 * @param visiable
	 */
	public void setVisiable(int visiable) {
		this.visiable = visiable;
	}

}
